<?php
include '../global.php';
$usetable=$et.'user';
$cook=$_COOKIE["admin"];
$usesql=$db->query("select * from $usetable where number='$cook' or realname='$cook'");
$userow=$db->row($usesql);
$smarty->assign("sql_realname",$userow["realname"]);
$protable=$et."product";
$prosql=$db->query("select * from $protable");
$pronum=$db->num($prosql);
$smarty->assign("cook",$cook);
$smarty->assign("pronum",$pronum);
$smarty->display($style."/admin/about.tpl");
?>
